bin=main
src=main.cc

$(bin):$(src)
#g++ -o $@ $^
	@g++ -o $@ $^
.PHONY:clean
clean:
	@rm -rf $(bin)
	@echo "delete files..."

# code:code.o
# 	gcc -o $@ $^
# code.s:code.i
# 	gcc -o $@ $^
# code.o:code.s
# 	gcc -o $@ $^
# code.i:code.c code.h
# 	gcc -o $@ $^


# main:main.cc
# 	g++ -o $@ $^ -std=c++11
# .PHONY:clean
# clean:
# 	rm -rf main